/**
 * 
 */
package com.fg.model;

import java.util.Date;
import java.util.List;

/**
 * @Package	: com.fg.model
 * @File 	: Product.java
 *
 * @Author 	: JosephChoi
 * @Date	: 2011. 8. 13.
 * @Version : 
 * @Comment	:
 *
 */
public class ProductVO {

	private int product_seq;		//제품의 키값
	private String p_name;			//제품명
	private String p_detail;		//제품의 세부 설명
	private Date p_init_date;		//제품등록일
	private Date p_end_date;		//제품판매일
	private int p_point;			//제품시 기대포인트
	private String seller;			//판매자
	private String buyer;			//구매자
	private String product_status;	//제품의 판매상태(판매중 or 판매완료)
	private String regist_type;		//제품의 등록상태(기부 or 포인트 판매)
	
	private List<ImageVO> image_list;	//제품의 이미지에 대한 Linked List
	
	private List<ReplyVO> reply_list;	//regist_type이 "선물"일 경우 리플을 불러옴.
	 

	
	/**
	 *
	 */
	public ProductVO() {
		super();
	}


	
	
	public Date getP_end_date() {
		return p_end_date;
	}




	public void setP_end_date(Date p_end_date) {
		this.p_end_date = p_end_date;
	}




	public int getProduct_seq() {
		return product_seq;
	}




	public void setProduct_seq(int product_seq) {
		this.product_seq = product_seq;
	}




	public String getP_name() {
		return p_name;
	}


	public void setP_name(String p_name) {
		this.p_name = p_name;
	}


	public String getP_detail() {
		return p_detail;
	}


	public void setP_detail(String p_detail) {
		this.p_detail = p_detail;
	}


	public Date getP_init_date() {
		return p_init_date;
	}


	public void setP_init_date(Date p_init_date) {
		this.p_init_date = p_init_date;
	}


	public int getP_point() {
		return p_point;
	}


	public void setP_point(int p_point) {
		this.p_point = p_point;
	}


	public String getSeller() {
		return seller;
	}


	public void setSeller(String seller) {
		this.seller = seller;
	}


	public String getBuyer() {
		return buyer;
	}


	public void setBuyer(String buyer) {
		this.buyer = buyer;
	}


	public String getProduct_status() {
		return product_status;
	}


	public void setProduct_status(String product_status) {
		this.product_status = product_status;
	}


	public String getRegist_type() {
		return regist_type;
	}


	public void setRegist_type(String regist_type) {
		this.regist_type = regist_type;
	}


	public List<ImageVO> getImage_list() {
		return image_list;
	}


	public void setImage_list(List<ImageVO> image_list) {
		this.image_list = image_list;
	}
	
	



	public List<ReplyVO> getReply_list() {
		return reply_list;
	}




	public void setReply_list(List<ReplyVO> reply_list) {
		this.reply_list = reply_list;
	}




	@Override
	public String toString() {
		return "ProductVO [p_name=" + p_name + ", p_detail=" + p_detail
				+ ", p_init_date=" + p_init_date + ", p_point=" + p_point
				+ ", seller=" + seller + ", buyer=" + buyer
				+ ", product_status=" + product_status + ", regist_type="
				+ regist_type + ", image_list=" + image_list + "]";
	}


	
	
}
